import Vue from 'vue';
import Vuex from 'vuex';

//1.安装
Vue.use(Vuex)

export default new Vuex.Store({
    state: {
        isLoading:false
    },
    mutations: {
        isLoading(state,status) {
            state.isLoading = status
        }
    }
}) 
